import request from '@/utils/request'

// 获取路由
export const getRouters = () => {
  return request({
    url: '/system/menu/getRouters',
    method: 'get'
  })
}

// 获取评级字典列表
export function listDictionary (params) {
  return request({
    url: '/system/dict/data/list',
    method: 'get',
    params
  })
}

//查询实现所有表格动态列记录列表
export function getcolumnslist (query) {
  return request({
    url: '/function/dynamic/column/list',
    method: 'get',
    params: query
  })
}
//新增实现所有表格动态列记录
export function Updatecolumns (data) {
  return request({
    url: '/function/dynamic/column',
    method: 'put',
    data: data
  })
}